<template>
    <div class="member">
        <mt-field label="用户名" placeholder="请输入用户名"></mt-field>
        <mt-field label="邮箱" placeholder="请输入邮箱" type="email"></mt-field>
        <mt-button type="primary" size="large" @click="suc">立即登录</mt-button>
        <router-link to="/member/register">立即注册</router-link>
    </div>
</template>
<script>
import { Toast } from 'mint-ui';
export default {
    data(){
        return {}
    },
    methods:{
        suc(){
            Toast('登录成功');
        }
    }
}
</script>
<style lang="scss">
    .member{
        padding: 10px;
        background: #fff;
        .mint-field{ border:0;}
        .mint-field-core{
            margin-top: 10px;
        }
    }
</style>
